import { get } from '../http'

// 下载车辆列表导入模板
export const carListImportTemplate = () =>
  get({
    url: '/carInfo/downloadCarTemplate',
    config: {
      responseType: 'blob',
    },
  })

// 车辆维修
export const carRepairImportTemplate = () =>
  get({
    url: '/repair/downloadImportTemplate',
    config: {
      responseType: 'blob',
    },
  })

// 车辆保养
export const carMaintenanceImportTemplate = () =>
  get({
    url: '/carMaintenance/downloadImportTemplate',
    config: {
      responseType: 'blob',
    },
  })

// 车辆年检
export const carInspectionImportTemplate = () =>
  get({
    url: '/inspection/downloadImportTemplate',
    config: {
      responseType: 'blob',
    },
  })

// 短租对账
export const shortOrderBillImportTemplate = () =>
  get({
    url: '/shortOrderBill/downloadTemplate',
    config: {
      responseType: 'blob',
    },
  })

// 车辆购置费导入载 不分期导入模板
export const carPurchaseNotStagedImportTemplate = () =>
  get({
    url: '/czsContractCarPurchase/downloadNotStagedPurchaseTemplate',
    config: {
      responseType: 'blob',
    },
  })

// 车辆购置费导入载 分期导入模板
export const carPurchaseImportTemplate = () =>
  get({
    url: '/czsContractCarPurchase/downloadStagedPurchaseTemplate',
    config: {
      responseType: 'blob',
    },
  })

// 车辆批量更新模板
export const carUpdateTemplate = () =>
  get({
    url: '/carInfo/downloadCarUpdateTemplate',
    config: {
      responseType: 'blob',
    },
  })

// 车辆保养
export const carInsuranceImportTemplate = () =>
  get({
    url: '/carInsurance/downloadImportTemplate',
    config: {
      responseType: 'blob',
    },
  })
